/*++

    Copyright (c) Microsoft Corporation.
    Licensed under the MIT License.

Abstract:

    QUIC Perf Common definitions.

--*/


#pragma once

#define THROUGHPUT_DEFAULT_PORT 4433
#define THROUGHPUT_ALPN "tput"
#define THROUGHPUT_DEFAULT_DISCONNECT_TIMEOUT (10 * 1000)
#define THROUGHPUT_DEFAULT_IDLE_TIMEOUT 1000
#define THROUGHPUT_SERVER_PEER_UNI 1
#define THROUGHPUT_CLIENT_UNI 1
#define THROUGHPUT_DEFAULT_IO_SIZE_BUFFERED 0x10000
#define THROUGHPUT_DEFAULT_IO_SIZE_NONBUFFERED 0x100000
#define THROGHTPUT_DEFAULT_SEND_COUNT_BUFFERED 1
#define THROUGHPUT_DEFAULT_SEND_COUNT_NONBUFFERED 8

#define RPS_ALPN "rps"
#define RPS_MAX_CLIENT_PORT_COUNT 256
#define RPS_MAX_BIDI_STREAM_COUNT 100
#define RPS_DEFAULT_PORT 4433
#define RPS_DEFAULT_DISCONNECT_TIMEOUT (10 * 1000)
#define RPS_DEFAULT_IDLE_TIMEOUT 30000
#define RPS_DEFAULT_ITERATIONS 1
#define RPS_DEFAULT_RUN_TIME 10000
#define RPS_DEFAULT_CONNECTION_COUNT 1000
#define RPS_DEFAULT_PARALLEL_REQUEST_COUNT 2
#define RPS_DEFAULT_REQUEST_LENGTH 0
#define RPS_DEFAULT_RESPONSE_LENGTH 0
#define RPS_ALL_CONNECT_TIMEOUT 10000
#define RPS_IDLE_WAIT 2000
